-
Notifications
You must be signed in to change notification settings - Fork 47.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix this in a functional component for ShallowRenderer #13144
Fix this in a functional component for ShallowRenderer #13144
Conversation
Thanks! |
So actually I think this will break createReactClass components, because they don't have |
They assign |
hmm - when i |
It's on the prototype, not on the class. createReactClass({ render() {} }).prototype.isReactComponent works. |
aha, thanks |
Thanks! |
Fixes #13141